function showTerm()
{
	var showterm = getTerm();
	document.getElementById("showterm").innerHTML = showterm;
};

function getTerm(){
	var date = new Date();
	var year = date.getFullYear();
	var mouth = date.getMonth()+1;
	var showterm;
	if(mouth >= 9 || mouth <= 2) {
		if(mouth >=9){
			showterm = year+"学年"+"01"+"学期";
		}else{
			showterm = year-1+"学年"+"01"+"学期";
		}
	}else {
		showterm = year-1+"学年"+"02"+"学期";
	}
	return showterm;
};



